package cn.pugle.base.TExp;

public class TNotExp extends TExp {
    public TNotExp(TExp e) {
        exp = e;
    }
    
    @Override
    public boolean matches(TLog log) {
        return (!exp.matches(log));
    }

    @Override
    public String toString() {
        return "(!" + exp.toString() + ")";
    }
    protected TExp exp;
}
